if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_GetAllCategories]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_GetAllCategories]
GO
CREATE PROC sp_GetAllCategories
AS
BEGIN
	SELECT ID, CategoryName As CateName, Description As CateDes, [Image] from Categories
END